package com.loooooo.pm2024.modules.pm.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.loooooo.pm2024.config.BigIDSerialize;
import com.loooooo.pm2024.data.BaseEntity;

import java.io.Serializable;

public class Message extends BaseEntity implements Serializable {

    @JsonSerialize(using = BigIDSerialize.class)
    private Long toId;

    @JsonSerialize(using = BigIDSerialize.class)
    private Long fromId;

    private String content;

    private String subject;

}
